<? if ($this->accountCreated): ?>

<h1>Your account</h1>

<p>Thank you for signing up with us please contact us if you are having any problems or needing to buy products in bulk.</p>

<? else: ?>

<form method="POST" class="form-horizontal" id="reg-form2" action="/account/st2" onSubmit="return _REGISTER.validateSt2();">

 <input type="hidden" name="prev_data" value="<?= $this->prev_data ?>">

  <fieldset>

    <legend>Register account</legend>

	<?= $this->render("account/register-form-st1.phtml"); ?>

     <div class="control-group">

       <div class="controls">

         <button type="submit" class="btn">Register</button>

       </div>

     </div>

  </fieldset>

</form>

<? endif; ?>

